# Gnuplot script file for plotting data in file "force.dat"
# This file is called   force.p
set   autoscale                        # scale axes automatically
unset log                              # remove any log-scaling
unset label                            # remove any previous labels
set xtic auto                          # set xtics automatically
set ytic auto                          # set ytics automatically
set title "Force Deflection Data for a Beam and a Column"
set xlabel "Deflection (meters)"
set ylabel "Force (kN)"
#set key 0.01,100
set key left box                       # Caixa de legendas 
#set key right nobox                   # legendas na direta sem caixa 

set label "Yield Point" at 0.003,260
set arrow from 0.0028,250 to 0.003,280
set xr [0.0:0.022]
set yr [0:325]
plot    "force.dat" using 1:2 title 'Column' with linespoints , \
        "force.dat" using 1:3 title 'Beam' with points
set size 1.0, 0.6
set terminal postscript eps enhanced color  
set output "my-plot.eps"
replot
set terminal x11
set size 1,1

set terminal png transparent 
set output "my-plot.png"
replot
#set terminal x11
#set size 1,1

